package me.aiyou.aiyounews;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.text.Html;
import android.text.method.LinkMovementMethod;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;
import android.widget.TextView;

public class AboutActivity extends Activity {

	private Button closeButton;
	 private final static String APP_PNAME = "com.yykuaixun.sinpool";
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		//setContentView(R.layout.toto_view);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.about_activity);
		
		/*this.closeButton = (Button)this.findViewById(R.id.buttonRateMe);
        this.closeButton.setOnClickListener(new OnClickListener() {
          public void onClick(View v) {
        	  AboutActivity.this.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=" + APP_PNAME)));

          }
        });
        
        TextView feedback = (TextView) findViewById(R.id.textViewSendMail);
        feedback.setText(Html.fromHtml("Also, If you have any feedback, you can write to us via  <a href=\"mailto:yykuaixun@gmail.com\">yykuaixun@gmail.com</a>"));
        feedback.setMovementMethod(LinkMovementMethod.getInstance());*/
	}
}
